package cn.yr.system.service;

import cn.yr.common.core.domain.dto.SysUserDto;
import cn.yr.common.core.domain.entity.SysUser;
import cn.yr.common.core.domain.vo.PageVo;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import me.zhyd.oauth.model.AuthUser;

/**
 * 用户信息表
 *
 * @author Lang
 * @email 1102076808@qq.com
 * @date 2020-07-13 23:07:36
 */
public interface ISysUserService extends IService<SysUser> {

	/**
	 * @Description
	 * @author Lang
	 * @Date 2020/7/17 22:02
	 */
	PageVo<SysUser> pageUser(PageVo<SysUser> pageVo, Wrapper<SysUser> wrapper);

	/**
	 * 第三用户登录的注册
	 * @param authUser
	 */
	void addAuthUser(AuthUser authUser);

	SysUserDto coverSysUser(AuthUser authUser);

}

